<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>Insert title here</title>
<link href="${pageContext.request.contextPath }/statics/css/style.css" rel="stylesheet" type="text/css"  media="all" />	</head>
<link rel="stylesheet" href="${pageContext.request.contextPath }/statics/css/responsiveslides.css">
<link rel="stylesheet" href="${pageContext.request.contextPath }/statics/layui/css/layui.css"  media="all">
<link rel="stylesheet" href="${pageContext.request.contextPath }/statics/css/font.css"  media="all">
<link rel="stylesheet" href="${pageContext.request.contextPath }/statics/css/styleplus.css"  media="all">
<script type="text/javascript" src="${pageContext.request.contextPath }/statics/js/jquery-1.9.1.min.js"></script>
<script src="${pageContext.request.contextPath }/statics/js/responsiveslides.min.js"></script>
</head>
<body>
<c:set var="base"  value="${pageContext.request.contextPath }" />
<!---start-header---->
			<div class="header">
				<div class="wrap">
				<!---start-logo---->
				<div class="logo">
					<a href="index.jsp"><img src="${pageContext.request.contextPath }/statics/images/logo.png" title="logo" /></a>
				</div>
				<c:if test="${empty user }">
				<div class="login-font top-nav">
					<ul>
						<li><a href="${base }/comm/tologin.html">登陆</a></li>
						<li><a href="${base }/comm/toregister.html">注册</a></li>
					</ul>
				</div>
				</c:if>
				<c:if test="${not empty user }">
				<div class="login-font top-nav">
					<ul>
						<li><a href="${base }/comm/orderlist.html">我的订单</a></li>
						<li><a href="${base }/comm/myinfo.html" style="color:#ef5b13;">欢迎您！${user.name }</a></li>
					</ul>
				</div>
				</c:if>
				<!---End-logo---->
				<!---start-top-nav---->
				<div class="top-nav">
					<ul>
						<li class="active"><a href="${base }/comm/index.html">首页</a></li>
						<li><a href="${base }/comm/pagelist.html/1">旅游攻略</a></li>
						<li><a href="${base }/comm/ticketlist.html/1">热点推荐</a></li>
						<li><a href="${base }/comm/plans.html">我的信息</a></li>
						<li><a href="${base }/comm/contact.html">联系我们</a></li>
					</ul>
				</div>
				<div class="clear"> </div>
				<!---End-top-nav---->
			</div>
			<!---End-header---->
	</div>
</body>
</html>